package c5;

public class E3 {
    public static void main(String[] args) {
        String str="abcd";
        System.out.println("将字符串转换为字符数组后的结果：");
        char[] charArray=str.toCharArray();
        for(int i=0;i<charArray.length;i++){
            if(i !=charArray.length - 1);
            System.out.println(charArray[i]+",");
        } else {
            System.out.println(charArray['i']);
        }
    }
    String str1="value0f(12)";
    String str2="toUpperCase()";
    String str3="toLowerCace()";
}
